package com.pets.springboot_petshop.service;

import com.pets.springboot_petshop.entity.Pettype;

import java.util.List;

/**
 * @Author: wxk
 * @Email: 2089967794@qq.com
 * @Date: 2024/10/12 上午9:51 周六
 * @Description: 宠物类型服务接口
 */
public interface PettypeService {
    //id查询
    Pettype selectPettype(int id);
    int selectName(String pettypeName);
    Pettype selectPettypename(String name);
    //查询所有
    List<Pettype> findAll();
    //添加
    int addPettype(Pettype pettype);
    //删除
    int deletePettypeById(int id);
    //修改数据
    int updatePettypeById(Pettype pettype);
}
